package com.microframework.boot.visual.service;

import java.util.List;

import com.microframework.base.core.model.options.TreeNode;
import com.microframework.base.web.page.PageQuery;
import com.microframework.boot.visual.model.domain.ComponentCategory;

public interface IComponentCategory {

	List<ComponentCategory> loadAll(PageQuery<ComponentCategory> pageQuery);

	List<ComponentCategory> loadLazy(PageQuery<ComponentCategory> pageQuery);

	List<TreeNode<ComponentCategory>> tree(PageQuery<ComponentCategory> pageQuery);

	ComponentCategory findById(String componentCategoryId);
	
}
